//void, Obj owner, Obj victim
Item this;

if (!owner.AsUnit.IsValid)
	return;
	
if (owner.IsValid()) {
	this = owner.FindItem("Veteran Guild");
	if (.IsValid) {
		owner.ExchangeItem(this,"Veteran Medal");
	}
}